package com.motong.gongdan.vo.system.otherVo;

import com.motong.gongdan.vo.system.processSop.CollectionDataVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author:fff
 * @time:2022/3/4
 */
@ApiModel(description = "任务修改类")
@Data
public class MissionEditVo {
    @ApiModelProperty(value = "任务id")
    private Integer id;
    @ApiModelProperty(value = "报工数配比")
    private BigDecimal rate;
    @ApiModelProperty(value = "计划数")
    private BigDecimal planedNumber;
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "分配列表")
    private String distributions;

    @ApiModelProperty(value = "ids 批量时传 ")
    private String ids;

    @ApiModelProperty(value = "部门id")
    private String depIds;
    @ApiModelProperty(value = "用户id")
    private String userIds;

    @ApiModelProperty("工序状态(0/1/2  未开始/执行中/已结束)")
    private Integer processState;

    @ApiModelProperty("是否加急（0不加急  1加急")
    private Integer isUrgent;

    //批量修改时传
    private Map<Integer, Object> customField;

    private List<CustomFieldVo> customFieldVos;
    private List<CollectionDataVo> processCollectionData;
}
